package com.kgc.service.impl;

import com.kgc.dao.CollegeMapper;
import com.kgc.entity.College;
import com.kgc.entity.CollegeExample;
import com.kgc.service.CollegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CollegeServiceImpl implements CollegeService {
    @Autowired
    private CollegeMapper collegeMapper;

    public List<College>findAllType(){
        CollegeExample example=new CollegeExample();
        List<College> list = collegeMapper.selectByExample(example);
        return list;
    }


}
